package cn.kgc.consumer_user.controller;

import cn.kgc.consumer_user.service.UserService;
import org.apache.catalina.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class UserController {
    @Resource
    UserService userService;
    @GetMapping("/buy")
    public String buy(){
        return userService.hello();
    }
}

